<?php /* Smarty version 2.6.26, created on 2013-12-24 11:39:07
         compiled from header.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'geturl', 'header.html', 38, false),)), $this); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf8" />
        <meta http-equiv="content-language" content="ru">
        <meta name="keywords" content="<?php echo $this->_tpl_vars['page_keywords']; ?>
" />
        <meta name="description" content="<?php echo $this->_tpl_vars['page_description']; ?>
" />
        <title><?php echo $this->_tpl_vars['page_title']; ?>
</title>
        <link rel="stylesheet" type="text/css" href="/css/styles.css" />
        <link rel="stylesheet" type="text/css" href="/js/jEditor/jquery.wysiwyg.css" />
        
        <script type="text/javascript" src="/js/jquery.min.js"></script>
        <!-- визуальный редактор -->
        <script type="text/javascript" src="/js/jEditor/jquery.wysiwyg.js"></script>
        <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
        <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
                <script type="text/javascript" src="/js/ajaxupload.3.5.js"></script>
        <script type="text/javascript" src="/js/scripts.js"></script>
           <script type="text/javascript" src="/js/uploadfile.js"></script>
        <!--фильтр--> 
          <link rel="stylesheet" type="text/css" href="/css/chosen.css" />
         <script src="/js/chosen.jquery.js" type="text/javascript"></script>
         <script src="/js/docsupport/prism.js" type="text/javascript" charset="utf-8"></script>
  	<!--Диалоговые окна-->
        <script src="/js/alertify.min.js"></script>
        <link rel="stylesheet" href="/css/alertify.core.css" />
	<link rel="stylesheet" href="/css/alertify.default.css" id="toggleCSS" />

    </head>
    <body>
        <!-- ТУТ НАЧИНАЕТСЯ ШАПКА -->
        <div>
            <div>ЛОГО</div>
            <div>
                <?php if ($this->_tpl_vars['authenticated']): ?>
                    Добро пожаловать, <?php echo $this->_tpl_vars['identity']->login; ?>
!
                    <br />
                    <a href="<?php echo smarty_function_geturl(array('controller' => 'account','action' => 'logout'), $this);?>
">Выйти</a>
                <?php else: ?>
                    <form method="post" action="<?php echo smarty_function_geturl(array('action' => 'login','controller' => 'account'), $this);?>
">
                        <input type="text" name="login" />
                        <input type="password" name="password" />
                        <input type="submit" value="Войти" />
                    </form>
                    <a href="<?php echo smarty_function_geturl(array('controller' => 'account','action' => 'register'), $this);?>
">Регистрация</a>
                <?php endif; ?>
            </div>
        </div>
        <!-- ТУТ ШАПКА КОНЧИЛАСЬ -->